package com.alone.embedded.lucene.spring.annotation;

import com.alone.embedded.lucene.spring.EmbeddedLuceneAutoConfiguration;
import com.alone.embedded.lucene.spring.EmbeddedLuceneProperties;
import org.springframework.boot.context.properties.EnableConfigurationProperties;
import org.springframework.context.annotation.Import;

import java.lang.annotation.*;

/**
 * 开启EmbeddedLucene自动配置
 *
 * @author Alone
 * @date 2022/8/26 2:27 下午
 */
@Target({ElementType.TYPE})
@Retention(RetentionPolicy.RUNTIME)
@Documented
@Inherited
@EnableConfigurationProperties(EmbeddedLuceneProperties.class)
@Import(EmbeddedLuceneAutoConfiguration.class)
public @interface EnableEmbeddedLucene {
}
